import React, { memo } from "react";
// ! yarn add redux
// ! yarn add redux-thunk
import { Provider } from "react-redux";
import store from "./store";

import Home from "./home";
import About from "./about";
import Thunkdemo from "./thunkDemo";

const index = memo(() => {
  return (
    <Provider store={store}>
      <Home></Home>
      <About></About>
    <Thunkdemo></Thunkdemo>
    </Provider>
  );
});

export default index;
